<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich">
    <ui:composition template="/Templates/SPI.xhtml">
        <ui:param name="navegacion" value="Convocatoria" />

        <ui:define name="header">
            <div id="tituloFormPlan"><span class="spanBoldInfPlan">INGRESAR PLAN ESTRATEGICO</span></div>
        </ui:define>

        <ui:define name="content">
           <h:panelGrid id="posiPanelPlan" columns="3" >
                <rich:panel>
                    <f:facet name="header"><span class="esPanPla">PLAN ESTRATEGICO</span></f:facet>
                    <a4j:form>
                       <h:panelGrid columns="3"  >
                            <tr></tr>
                            <h:outputLabel value="Codigo" />
                            <h:inputText value="#{spiModuloGestor.modulo.modCodigo}" />
                            <h:outputLabel value="Descripción" />
                            <h:inputText value="#{spiModuloGestor.modulo.modDescripcion}">
                                <f:validateLength minimum="3" />
                            </h:inputText>
                            <a4j:commandButton   action="#{spiModuloGestor.insertarModulo}" value="GUARDAR" reRender="rstp_datos"></a4j:commandButton>
                        </h:panelGrid>
                        <h:outputText value="#{gestorPlan.mensajePlan}" style="color:red;" />

                    </a4j:form>
                </rich:panel>
           </h:panelGrid>
        </ui:define>
    </ui:composition>
</html>



